package com.yloveg.service;

import java.util.List;
import java.util.Map;

import com.github.pagehelper.PageInfo;
import com.yloveg.entity.SRole;
import com.yloveg.entity.VActivity;
import com.yloveg.entity.VGift;

public interface VActivityService {
 
	public PageInfo<VActivity> queryActivityPage(int page, int limit,String status);
    
    public int insertActivity(VActivity vactivity);
    
    public int updateByPrimaryKeySelective(VActivity vactivity);
    
    public VActivity selectByPrimaryKey(Integer id);
    
    public VActivity selectByPrimaryKeyN(Integer id);
    
    public int delActivity(Integer id);
    
    public List<Map<String,Object>> queryActivityMap(VActivity vactivity);
    
    public int getActivityTotal();
    
    public int getActivityOpen();
    
    public List<VActivity> queryActivityOpen();
    
    public List<VActivity> queryActivity();
    
}